<?php
/*
File Name:		config.php
Description: 	Contiene le definizioni di variabili e costanti
Plugin URI:  	http://www.SyriusWeb.com/
Author:      	SyriusWeb
Author URI:  	http://www.SyriusWeb.com/
*/

global $wpdb;
global $admin;
global $table_viewmeta;
global $sql_viewmeta;
global $task_posts;

define('FASCICOLI_DOMAIN','fascicoli');

require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
require_once "functions.php";
require_once "fascicolo.php";
require_once "viewmeta.php";
require_once "custom_fields.php";
require_once "filters.php";
require_once "filters_includes.php";


$admin = get_role('administrator');


$task_posts['post']['plus']['ico'] = '../wp-content/plugins/'.dirname(plugin_basename(__FILE__)).'/img/plus_16.png';
$task_posts['post']['plus']['action'] = 'onClick="toggle_task(\'post_plus\')"';